package handler

import (
	"context"
	"kee/config"
	"kee/dao"
)

type ImplKee struct {
	Dao    *dao.Dao
	Config *config.Config
}

func (impl *ImplKee) InitKee(ctx context.Context) error {

	conf := config.NewConfig()
	dao := dao.NewDao(ctx, conf)

	impl.Config = conf
	impl.Dao = dao
	return nil
}
